// test user request api
// const http = uni.$u.http;

// test get api
export function login({phoneNo, sms}){
	return uni.$u.http.post(`/auth/mobile/token/sms?mobile=SMS@${phoneNo}&code=${sms}&grant_type=mobile`, null, {header: {'TENANT-ID': 1, Authorization: 'Basic YWd0OmFndA==', 
			isToken: 'false'}})
}

export function getVerCode(phoneNo) {
	return uni.$u.http.get(`/admin/mobile/${phoneNo}`, {header: {Authorization: 'Basic YWd0OmFndA==', 
			isToken: 'false'}})
}